Skip to content

[ISSUE #11049]🐛Reuse verified evidence within the image release workflow - #11057

Merged
rocketmq-rust-bot merged 1 commit into
mainfrom
mxsm/release-proof-reuse
Oct 1, 2026
Merged

rocketmq-rust-bot merged 1 commit into
mainfrom
mxsm/release-proof-reuse

Conversation

@mxsm

@mxsm mxsm commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Which Issue(s) This PR Fixes(Closes)

Brief Description

Re-running image publication downloaded every historical Cosign bundle for each unchanged digest, exhausting Docker Hub pull quotas and sometimes discovering an older SBOM before the current one. Verify each newly uploaded signature and attestation bundle directly with Cosign's digest-claim verification, release workflow certificate identity, issuer and transparency proofs. Keep source/component annotations, exact repository/digest binding, full SBOM equality and the existing image-verification JSON evidence view.

The automatic GHCR mirror downloads qualified Docker Hub artifacts from the same Actions run, independently re-verifies both signed bundles and checks the exact image subject and zero-CRITICAL scan before any copy. Missing, incomplete, conflicting, malformed or invalid evidence remains a failure. Independent GHCR dispatches retain registry verification and fresh scanning. Archive the original source bundles and bind all evidence hashes in the signed publication record.

How Did You Test This Change?

  • python -m unittest discover -s scripts/tests -p 'test_publish*.py': all 76 tests passed, covering exact digest/SBOM/source bindings, certificate verification failures, scan subject and CRITICAL rejection, incomplete evidence and publication boundaries.
  • Actual pinned Cosign 3.1.2 verified both downloaded MCP bundles by their image digest, certificate identity, issuer and predicate type. The shared source verifier and scan reuse then succeeded against those real artifacts without registry proof downloads.
  • Pinned actionlint 1.7.12 checked the four release workflows; CI runs ShellCheck.
  • Bash syntax checks passed for all 11 release scripts and all 9 GHCR scripts.
  • git diff --check: passed.

@rocketmq-rust-bot

Copy link
Copy Markdown
Collaborator

🔊@mxsm 🚀Thanks for your contribution🎉!

@rocketmq-rust-robot rocketmq-rust-robot added the bug🐛 Something isn't working label Oct 1, 2026
@rocketmq-rust-bot rocketmq-rust-bot added the waiting-review waiting review this PR label Oct 1, 2026

@rocketmq-rust-bot rocketmq-rust-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Required CI checks passed ✅

@rocketmq-rust-bot
rocketmq-rust-bot merged commit b19baf7 into main Oct 1, 2026
18 of 19 checks passed
@rocketmq-rust-bot rocketmq-rust-bot added approved PR has approved and removed ready to review waiting-review waiting review this PR labels Oct 1, 2026
@mxsm
mxsm deleted the mxsm/release-proof-reuse branch October 15, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved PR has approved auto merge bug🐛 Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug🐛] Docker Hub releases retain commit aliases and staging tags

3 participants